package cn.hackcloud.mybatis.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.MapKey;

import cn.hackcloud.mybatis.bean.Employee;

public interface EmployeeMapper {
	public Employee selectEmp(int id);

	public boolean add(Employee employee);

	public List<Employee> findAll();

	@MapKey("id")
	public Map<Integer, Employee> findAllMap();

	public Employee findEmpAndDepartment(int id);

	public Employee findEmpByStep(int id);

	public List<Employee> findByDeptId(int id);
}
